setBoundsInScreenFromBoundsInParent
fun setBoundsInScreenFromBoundsInParent(@NonNull node: @NonNull AccessibilityNodeInfoCompat, @NonNull boundsInParent: @NonNull Rect)(source)
Calculates and assigns screen-relative bounds based on bounds in parent. Instead of calling the deprecated setBoundsInParent, it provides a convenient method to calculate and assign setBoundsInScreen based on boundsInParent
.
Parameters
node
The node to populate
boundsInParent
The node bounds in the viewParent's coordinates.